/*
 * Description: 报价server-commodity映射调用后台接口JS
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Qiuxue.Wu
 * Date: 2020/05/27 14:22
 */

import { httpPost } from '../../utils/axios-utils'

// export function serverCostPageList(obj, authConfig) {
//   return httpPost('/smart-cost/server_bom/cost/pageList', obj, authConfig)
// }

export function serverPageListUnFinish(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/cost/pageListUnFinish', obj, authConfig)
}

// export function serverPageListFinish(obj, authConfig) {
//   return httpPost('/smart-cost/server_bom/cost/pageListFinish', obj, authConfig)
// }

// export function serverCostSaveSingle(obj, authConfig) {
//   return httpPost('/smart-cost/server_bom/cost/costSaveSingle', obj, authConfig)
// }

export function serverCostCommit(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/cost/costCommit', obj, authConfig)
}

// export function serverCostSaveBatch(obj, authConfig) {
//   return httpPost('/smart-cost/server_bom/cost/costSaveBatch', obj, authConfig)
// }

export function serverCostForward(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/cost/costForward', obj, authConfig)
}

export function serverClaim(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/cost/claim', obj, authConfig)
}

export function serverClaimBatch(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/cost/claimBatch', obj, authConfig)
}
